/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.shop.entity.order;

import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 乐购爆款订单能量Entity
 * @author 李欣荣
 * @version 2018-10-11
 */
public class HkUserBurstOrderDetail extends DataEntity<HkUserBurstOrderDetail> {
	
	private static final long serialVersionUID = 1L;
	private String ordernumber;		// 爆款订单
	private HkUser user;		// 用户
	
	public HkUserBurstOrderDetail() {
		super();
	}

	public HkUserBurstOrderDetail(String id){
		super(id);
	}

	@Length(min=0, max=32, message="爆款订单长度必须介于 0 和 32 之间")
	public String getOrdernumber() {
		return ordernumber;
	}

	public void setOrdernumber(String ordernumber) {
		this.ordernumber = ordernumber;
	}
	
	public HkUser getUser() {
		return user;
	}

	public void setUser(HkUser user) {
		this.user = user;
	}
	
}